import convolution from '../operations/convolution'

const prewittVertical = function (pixels, amount, canvas) {
    const divider = 3
    const operator = [-1 / divider, 0, 1 / divider, -1 / divider, 0, 1 / divider, -1 / divider, 0, 1 / divider]

    return convolution(canvas, pixels, operator)
}

export default prewittVertical
